package com.zzyl.service;

import com.zzyl.dto.ResourceDto;
import com.zzyl.vo.ResourceVo;
import com.zzyl.vo.TreeVo;

import java.util.List;

public interface ResourceService {
    void addResource(ResourceDto resourceDto);

    List<ResourceVo> list(ResourceDto resourceDto);

    TreeVo tree(ResourceDto resourceDto);

    void updateResource(ResourceDto resourceDto);

    void enableOrDisable(ResourceDto resourceDto);

    void delete(String resourceNo);
}
